继承自 FoxitPDFSDKPython2._object .
此类表示用于 LTVVerifier 类的撤销回调对象。 此类中的所有纯虚函数都用作回调函数,应由用户实现。
- 参见
- LTVVerifier
◆ GetCertChainFromSignature()
| def FoxitPDFSDKPython2.RevocationCallback.GetCertChainFromSignature |
( |
|
signature_content | ) |
|
◆ GetCertValidTimeRange()
| def FoxitPDFSDKPython2.RevocationCallback.GetCertValidTimeRange |
( |
|
cert | ) |
|
◆ GetCRLSignature()
| def FoxitPDFSDKPython2.RevocationCallback.GetCRLSignature |
( |
|
crl_data | ) |
|
◆ GetDTSTime()
| def FoxitPDFSDKPython2.RevocationCallback.GetDTSTime |
( |
|
signature_content | ) |
|
◆ GetOCSPCertAndIssuer()
| def FoxitPDFSDKPython2.RevocationCallback.GetOCSPCertAndIssuer |
( |
|
ocsp_data, |
|
|
|
trust_cert_chain |
|
) |
| |
◆ GetOCSPProducedAtTime()
| def FoxitPDFSDKPython2.RevocationCallback.GetOCSPProducedAtTime |
( |
|
ocsp_data | ) |
|
◆ GetOCSPSignature()
| def FoxitPDFSDKPython2.RevocationCallback.GetOCSPSignature |
( |
|
ocsp_data | ) |
|
◆ GetResponseOnLineForSingleCert()
| def FoxitPDFSDKPython2.RevocationCallback.GetResponseOnLineForSingleCert |
( |
|
cert_issuer_pair | ) |
|
◆ GetRevocationInfoFromSignatureData()
| def FoxitPDFSDKPython2.RevocationCallback.GetRevocationInfoFromSignatureData |
( |
|
signature_content | ) |
|
◆ GetTSTSignature()
| def FoxitPDFSDKPython2.RevocationCallback.GetTSTSignature |
( |
|
signature_content | ) |
|
◆ GetTSTTime()
| def FoxitPDFSDKPython2.RevocationCallback.GetTSTTime |
( |
|
signature_content | ) |
|
◆ IsCA()
| def FoxitPDFSDKPython2.RevocationCallback.IsCA |
( |
|
cert | ) |
|
用于判断证书是否为 CA 证书的回调函数。
- 参数
-
- 返回
- true 表示证书是 CA 证书,false 表示不是。
◆ IsIssuerMatchCert()
| def FoxitPDFSDKPython2.RevocationCallback.IsIssuerMatchCert |
( |
|
cert_issuer_pair | ) |
|
用于检查颁发者是否与证书匹配的回调函数。
- 参数
-
| [in] | cert_issuer_pair | 证书-颁发者对。此对中的颁发者将被检查 是否与此对中的证书匹配。 |
- 返回
- true 表示颁发者与证书匹配,false 表示不匹配。
◆ IsOCSPNeedCheck()
| def FoxitPDFSDKPython2.RevocationCallback.IsOCSPNeedCheck |
( |
|
ocsp_data | ) |
|
用于获取是否需要检查 OCSP 响应的标志的回调函数。
- 参数
-
- 返回
- true 表示需要检查 OCSP 响应,false 表示不需要。
◆ Release()
| def FoxitPDFSDKPython2.RevocationCallback.Release |
( |
| ) |
|
◆ VerifyCRL()
| def FoxitPDFSDKPython2.RevocationCallback.VerifyCRL |
( |
|
cert_issuer_pair, |
|
|
|
crl_data |
|
) |
| |
◆ VerifyOCSP()
| def FoxitPDFSDKPython2.RevocationCallback.VerifyOCSP |
( |
|
cert_issuer_pair, |
|
|
|
ocsp_data |
|
) |
| |